from ogreEx.CReportSingleton import Report
from ogreEx.blender.types import Menu
from ogreEx.ui.UIClass import MINI

@MINI
class MiniReport(Menu):
    bl_label = "Mini-Report | (see console for full report)"
    def draw(self, context):
        layout = self.layout
        txt = Report.report()
        for line in txt.splitlines():
            layout.label(text=line)
